package com.dingyh.shopwebbackground.entity;

import java.io.Serializable;
import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Tolerate;

/**
 * <p>
 * 
 * </p>
 *
 * @author dingyuhan
 * @since 2023-02-17
 */
@Data
@Builder
@EqualsAndHashCode(callSuper = false)
public class Orders implements Serializable {

    @Tolerate
    public Orders() {
    }

    private static final long serialVersionUID=1L;

    /**
     * 订单id
     */
    private String id;

    private String goodsid;

    private String companyid;

    private String userid;

    private String username;

    private String useraddress;

    /**
     * 总金额
     */
    private BigDecimal amount;

    private BigDecimal price;

    private BigDecimal qty;

    /**
     * 订单生成时间
     */
    private Long timeadd;

    /**
     * 物流进度
     */
    private String state;

    private String goodsname;

    @TableField(exist = false)
    private String month;

    @TableField(exist = false)
    private String saleState;

    private String payId;

}
